@import '../../../../../assets/less/base/variables.less';
@import '../../../../../assets/less/base/newTabPageCommom.less';

.main-content {
  margin: 0 20px;
  margin-top: 20px;
  padding-bottom: 40px;
}

.page-main-title {
  display: flex;
  align-items: center;
}

.add-icon {
  color: @blue;
  font-size: 14px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  .el-icon-circle-plus {
    margin-right: 6px;
    font-size: 17px;
  }
}

.channel-item {
  margin-bottom: 20px;
  .title {
    padding-left: 20px;
    height: 48px;
    background: @greyF4;
    display: flex;
    justify-content: space-between;
    .title-name {
      line-height: 48px;
      font-size: 14px;
      color: @grey66;
      font-weight: bold;
    }
    .action {
      display: flex;
      .show-rule-detail-icon {
        height: 100%;
        width: 68px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        .el-icon-caret-top {
          font-size: 18px;
          color: @darkGrey;
          transition: transform 0.2s ease-in;
          transform-origin: center center;
          &.rotate180 {
            transform: rotate(-180deg);
          }
        }
      }

      .edit-icon {
        height: 100%;
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        .el-icon-edit {
          color: @darkGrey;
          font-size: 18px;
        }
      }
      .del-icon {
        height: 100%;
        width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        .el-icon-close {
          color: @grey66;
          font-size: 18px;
        }
      }
    }
  }
  .channel-item-bd {
    padding: 20px;
    border-left: 1px solid @grayD8;
    border-right: 1px solid @grayD8;
    border-bottom: 1px solid @grayD8;
    .channel-item-bd-inner {
      width: 535px;
    }
  }
}

.zb-form {
  width: 100%;
}

.change-mode-box {
  background: @greyF7;
  border-radius: 4px;
  padding-bottom: 15px;
}

.channel-change {
  background: @greyF7;
  padding-left: 20px;
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.action-box {
  margin-bottom: 0;
  margin-top: 30px;
}

.change-mode-bd {
  margin-left: 10px;
  padding-left: 15px;
  margin-right: 10px;
  background: #fff;
  padding-top: 18px;
  padding-bottom: 2px;
  .unit {
    line-height: 32px;
  }
  .el-date-editor.el-input {
    width: 118px;
  }

  .more-dates {
    .el-date-editor.el-input {
      width: 250px;
    }
  }
  .date-form-item {
    position: relative;
    .add-icon {
      position: absolute;
      right: -30px;
      top: 0;
      height: 32px;
      width: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      .el-icon-circle-plus {
        color: @blue;
        font-size: 22px;
      }
    }

    .del-icon {
      position: absolute;
      right: -25px;
      top: 0;
      height: 32px;
      width: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      .el-icon-close {
        font-size: 18px;
      }
    }
  }
}

.date-form-item2 {
  padding-left: 100px;
}

.bottom-action-box {
  margin-top: 30px;
  margin-left: 20px;
  padding-bottom: 30px;
}
